package org.mindcanister.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("content")
public interface ContentService extends RemoteService {
	//Create
	String newContent(String title, Integer type, String content, String des);
	
	String deleteContent(Integer id);
	
	String diggContent(Integer contentId, Integer userId);
	
}
